package com.example.haha_.ui_demo;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;

public class RegisterActivity extends AppCompatActivity {

    private Button registernumber;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.register);
        initview();
    }

    private void initview() {
        registernumber=findViewById(R.id.registernumber);
        registernumber.setOnClickListener(v->{
            Intent intent = new Intent(RegisterActivity.this, MainActivity.class);
            startActivity(intent);
                }
        );

    }
}
